package com.dgz.springboot18.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection="task")
public class TaskInfo implements Serializable {

    @Id
    private String taskId; //任务id
    private String taskName; //任务名称
    private String taskContent; //任务内容
    private String taskAdmin;  //任务发布者
    private String taskStartTime; //任务发布时间
    private String taskAndTime; //任务结束时间
    private Integer status; //任务是否过期,超过任务时间不可打卡
    private Integer isDel; //任务是否删除


}
